package com.example.SBootDemo.service.Interface.function;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.example.SBootDemo.ExceptionHandel.exception.Myexception;
import com.example.SBootDemo.model.function.role;

public interface roleinterface {

	int getRoles(int pageinfo, HttpServletRequest request) throws Myexception;

	void addpage(HttpServletRequest request);

	void updatepage(HttpServletRequest request, int id)throws Myexception;

	void updateRole(role role, int[] ckid, HttpServletRequest request)throws Myexception;

	void deleteRole(List<Integer> listid)throws Myexception;

}
